Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] Reduce security plugin page load bundle (#98819) #98950

Merged
merged 2 commits into from
Apr 30, 2021

Conversation

legrego
Copy link
Member

@legrego legrego commented Apr 30, 2021

Backports the following commits to 7.x:

# Conflicts:
#	packages/kbn-optimizer/limits.yml
@legrego legrego enabled auto-merge (squash) April 30, 2021 16:44
@legrego
Copy link
Member Author

legrego commented Apr 30, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack Reporting API Integration Tests.x-pack/test/reporting_api_integration/reporting_and_security/usage·ts.Reporting APIs Usage from new jobs posted should handle print_layout pdf

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: Reporting APIs
[00:00:00]           └-> "before all" hook in "Reporting APIs"
[00:00:00]           └-> "before all" hook in "Reporting APIs"
[00:00:00]             │ debg creating role data_analyst
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] added role [data_analyst]
[00:00:00]             │ debg creating role test_reporting_user
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] added role [test_reporting_user]
[00:00:00]             │ debg creating user data_analyst
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] added user [data_analyst]
[00:00:00]             │ debg created user data_analyst
[00:00:00]             │ debg creating user reporting_user
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] added user [reporting_user]
[00:00:00]             │ debg created user reporting_user
[00:02:13]           └-: Usage
[00:02:13]             └-> "before all" hook in "Usage"
[00:02:13]             └-> "before all" hook in "Usage"
[00:02:13]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Loading "mappings.json"
[00:02:13]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Loading "data.json.gz"
[00:02:13]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_task_manager_7.14.0_001/zJb5nbZKQNaoDMvbS_dbKA] deleting index
[00:02:13]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_1/NpCQdpVRSW6axjxpS7Lb1g] deleting index
[00:02:13]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_001/H8UVkrlSThGjk2z0TtLD2Q] deleting index
[00:02:13]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Deleted existing index ".kibana_7.14.0_001"
[00:02:13]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Deleted existing index ".kibana_task_manager_7.14.0_001"
[00:02:13]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Deleted existing index ".kibana_1"
[00:02:13]               │ proc [kibana]   log   [20:14:37.477] [warning][environment] Detected an unhandled Promise rejection.
[00:02:13]               │ proc [kibana] Error: Not Found
[00:02:13]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:02:13]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Created index ".kibana_1"
[00:02:13]               │ debg [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:02:13]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Indexed 143 docs into ".kibana_1"
[00:02:13]               │ debg Migrating saved objects
[00:02:13]               │ proc [kibana]   log   [20:14:37.603] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 3ms.
[00:02:13]               │ proc [kibana]   log   [20:14:37.608] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 8ms.
[00:02:13]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_task_manager_7.14.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:02:13]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.14.0_001]
[00:02:13]               │ proc [kibana]   log   [20:14:37.616] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> SET_SOURCE_WRITE_BLOCK. took: 9ms.
[00:02:13]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] adding block write to indices [[.kibana_1/gl2gal-oRRWPMaFW6ToQpw]]
[00:02:14]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] completed adding block write to indices [.kibana_1]
[00:02:14]               │ proc [kibana]   log   [20:14:37.676] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 73ms.
[00:02:14]               │ proc [kibana]   log   [20:14:37.691] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 75ms.
[00:02:14]               │ proc [kibana]   log   [20:14:37.706] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 30ms.
[00:02:14]               │ proc [kibana]   log   [20:14:37.707] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 107ms
[00:02:14]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:02:14]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] updating number_of_replicas to [0] for indices [.kibana_7.14.0_reindex_temp]
[00:02:14]               │ proc [kibana]   log   [20:14:37.758] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 67ms.
[00:02:14]               │ proc [kibana]   log   [20:14:37.765] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 7ms.
[00:02:14]               │ proc [kibana]   log   [20:14:37.782] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 17ms.
[00:02:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_reindex_temp/dZA9nPAATc-ke3_G212wtQ] update_mapping [_doc]
[00:02:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_reindex_temp/dZA9nPAATc-ke3_G212wtQ] update_mapping [_doc]
[00:02:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_reindex_temp/dZA9nPAATc-ke3_G212wtQ] update_mapping [_doc]
[00:02:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_reindex_temp/dZA9nPAATc-ke3_G212wtQ] update_mapping [_doc]
[00:02:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_reindex_temp/dZA9nPAATc-ke3_G212wtQ] update_mapping [_doc]
[00:02:14]               │ proc [kibana]   log   [20:14:37.954] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_READ. took: 172ms.
[00:02:14]               │ proc [kibana]   log   [20:14:37.965] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 11ms.
[00:02:14]               │ proc [kibana]   log   [20:14:37.974] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 9ms.
[00:02:14]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] adding block write to indices [[.kibana_7.14.0_reindex_temp/dZA9nPAATc-ke3_G212wtQ]]
[00:02:14]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] completed adding block write to indices [.kibana_7.14.0_reindex_temp]
[00:02:14]               │ proc [kibana]   log   [20:14:38.020] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 46ms.
[00:02:14]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] applying create index request using existing index [.kibana_7.14.0_reindex_temp] metadata
[00:02:14]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:02:14]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] updating number_of_replicas to [0] for indices [.kibana_7.14.0_001]
[00:02:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_001/EZR-w0uWT1mkW0I0OVO99Q] create_mapping [_doc]
[00:02:14]               │ proc [kibana]   log   [20:14:38.127] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH. took: 107ms.
[00:02:14]               │ proc [kibana]   log   [20:14:38.139] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS. took: 12ms.
[00:02:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_001/EZR-w0uWT1mkW0I0OVO99Q] update_mapping [_doc]
[00:02:14]               │ proc [kibana]   log   [20:14:38.195] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 56ms.
[00:02:14]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] 11200 finished with response BulkByScrollResponse[took=40.8ms,timed_out=false,sliceId=null,updated=143,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:02:14]               │ proc [kibana]   log   [20:14:38.305] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 110ms.
[00:02:14]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_reindex_temp/dZA9nPAATc-ke3_G212wtQ] deleting index
[00:02:14]               │ proc [kibana]   log   [20:14:38.343] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 38ms.
[00:02:14]               │ proc [kibana]   log   [20:14:38.344] [info][savedobjects-service] [.kibana] Migration completed after 745ms
[00:02:14]               │ debg [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Migrated Kibana index after loading Kibana data
[00:02:14]               │ debg [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/kibana] Ensured that default space exists in .kibana
[00:02:14]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Loading "mappings.json"
[00:02:14]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Loading "data.json.gz"
[00:02:14]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [animals-dogs-2018-01-01/UxGnMXl0TcCsxlIilxh13Q] deleting index
[00:02:14]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Deleted existing index "animals-dogs-2018-01-01"
[00:02:14]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:02:14]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "animals-dogs-2018-01-01"
[00:02:14]               │ debg [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "animals-dogs-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:14]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [animals-dogs-2018-04-10/ccXIpcTQSI2dIP6Yq6N6CA] deleting index
[00:02:14]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Deleted existing index "animals-dogs-2018-04-10"
[00:02:14]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:02:14]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:02:14]               │ debg [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:14]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [animals-cats-2018-01-01/y4GX1JwOSJyDMK4gLuHKug] deleting index
[00:02:14]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Deleted existing index "animals-cats-2018-01-01"
[00:02:15]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [animals-cats-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:02:15]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "animals-cats-2018-01-01"
[00:02:15]               │ debg [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "animals-cats-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:15]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [animals-cats-2018-04-10/3ugR1UEXStymcHAUt4biNQ] deleting index
[00:02:15]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Deleted existing index "animals-cats-2018-04-10"
[00:02:15]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:02:15]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "animals-cats-2018-04-10"
[00:02:15]               │ debg [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "animals-cats-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:15]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [dogbreeds/59m4-6UrSHukKzxcBRGDfA] deleting index
[00:02:15]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Deleted existing index "dogbreeds"
[00:02:15]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1]
[00:02:15]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "dogbreeds"
[00:02:15]               │ debg [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "dogbreeds" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:02:15]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [logstash-0/t7P-1UXFTSu8tIvP6iz7bQ] deleting index
[00:02:15]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Deleted existing index "logstash-0"
[00:02:15]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:02:15]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Created index "logstash-0"
[00:02:15]               │ debg [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] "logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:02:24]               │ info progress: 13537
[00:02:24]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:02:24]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:02:24]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:02:24]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:02:24]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:02:24]               │ info [/dev/shm/workspace/parallel/12/kibana/test/functional/fixtures/es_archiver/dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:02:25]               │ debg applying update to kibana config: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:02:25]               │ debg ReportingAPI.deleteAllReports
[00:02:32]             └-: from new jobs posted
[00:02:32]               └-> "before all" hook for "should handle csv"
[00:02:32]               └-> should handle csv
[00:02:32]                 └-> "before each" hook: global before each for "should handle csv"
[00:02:32]                 │ debg ReportingAPI.postJob(/api/reporting/generate/csv?jobParams=(conflictedTypesFields:!(),fields:!(%27@timestamp%27,agent,bytes,clientip),indexPatternId:%270bf35f60-3dc9-11e8-8660-4d65aa086b3c%27,metaFields:!(_source,_id,_type,_index,_score),searchRequest:(body:(_source:(excludes:!(),includes:!(%27@timestamp%27,agent,bytes,clientip)),docvalue_fields:!(%27@timestamp%27),query:(bool:(filter:!((bool:(minimum_should_match:1,should:!((match:(clientip:%2773.14.212.83%27)))))),must:!((range:(bytes:(gte:100,lt:1000))),(range:(%27@timestamp%27:(format:epoch_millis,gte:1369165215770,lte:1526931615770)))),must_not:!(),should:!())),script_fields:(),sort:!((%27@timestamp%27:(order:desc,unmapped_type:boolean))),stored_fields:!(%27@timestamp%27,agent,bytes,clientip),version:!t),index:%27logstash-*%27),title:%27Bytes%20and%20kuery%20in%20saved%20search%20with%20filter%27,type:search))
[00:02:32]                 │ proc [kibana]   log   [20:14:56.476] [info][plugins][queue-job][reporting] Queued CSV report: ko4r939m5srube62a47zi7ru
[00:02:32]                 │ debg Waiting for job to finish: /api/reporting/jobs/download/ko4r939m5srube62a47zi7ru
[00:02:34]                 │ debg Report at path /api/reporting/jobs/download/ko4r939m5srube62a47zi7ru is pending
[00:02:35]                 │ proc [kibana]   log   [20:14:59.069] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job marked as claimed: /.reporting-2021-04-25/_doc/ko4r939m5srube62a47zi7ru
[00:02:35]                 │ proc [kibana]   log   [20:14:59.070] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Starting job
[00:02:35]                 │ proc [kibana]   log   [20:14:59.095] [warning][csv][execute-job][ko4r939m5srube62a47zi7ru][plugins][reporting] Kibana Advanced Setting "dateFormat:tz" is set to "Browser". Dates will be formatted as UTC to avoid ambiguity.
[00:02:35]                 │ proc [kibana]   log   [20:14:59.129] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job execution completed successfully
[00:02:35]                 │ proc [kibana]   log   [20:14:59.136] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job data saved successfully: /.reporting-2021-04-25/_doc/ko4r939m5srube62a47zi7ru
[00:02:35]                 │ debg Report at path /api/reporting/jobs/download/ko4r939m5srube62a47zi7ru is pending
[00:02:37]                 │ debg Report at path /api/reporting/jobs/download/ko4r939m5srube62a47zi7ru is complete
[00:02:38]                 └- ✓ pass  (5.7s) "Reporting APIs Usage from new jobs posted should handle csv"
[00:02:38]               └-> "after each" hook for "should handle csv"
[00:02:38]                 │ debg ReportingAPI.deleteAllReports
[00:02:38]               └-> should handle preserve_layout pdf
[00:02:38]                 └-> "before each" hook: global before each for "should handle preserve_layout pdf"
[00:02:38]                 │ debg ReportingAPI.postJob(/api/reporting/generate/printablePdf?jobParams=(browserTimezone:America%2FNew_York,layout:(dimensions:(height:439,width:1362),id:preserve_layout),objectType:dashboard,relativeUrls:!(%27%2Fapp%2Fkibana%23%2Fdashboard%2F61c58ad0-3dd3-11e8-b2b9-5d5dc1715159%3F_g%3D(refreshInterval:(display:Off,pause:!!f,value:0),time:(from:!%27Mon%2BApr%2B09%2B2018%2B17:56:08%2BGMT-0400!%27,mode:absolute,to:!%27Wed%2BApr%2B11%2B2018%2B17:56:08%2BGMT-0400!%27))%26_a%3D(description:!%27!%27,filters:!!((!%27$state!%27:(store:appState),meta:(alias:!!n,disabled:!!f,index:a0f483a0-3dc9-11e8-8660-4d65aa086b3c,key:animal,negate:!!f,params:(query:dog,type:phrase),type:phrase,value:dog),query:(match:(animal:(query:dog,type:phrase))))),fullScreenMode:!!f,options:(hidePanelTitles:!!f,useMargins:!!t),panels:!!((embeddableConfig:(),gridData:(h:15,i:!%271!%27,w:24,x:0,y:0),id:!%2750643b60-3dd3-11e8-b2b9-5d5dc1715159!%27,panelIndex:!%271!%27,type:visualization,version:!%276.3.0!%27),(embeddableConfig:(),gridData:(h:15,i:!%272!%27,w:24,x:24,y:0),id:a16d1990-3dca-11e8-8660-4d65aa086b3c,panelIndex:!%272!%27,type:search,version:!%276.3.0!%27)),query:(language:lucene,query:!%27!%27),timeRestore:!!t,title:!%27dashboard%2Bwith%2Bfilter!%27,viewMode:view)%27),title:%27dashboard%20with%20filter%27))
[00:02:38]                 │ debg ReportingAPI.postJob(/api/reporting/generate/printablePdf?jobParams=(browserTimezone:America%2FNew_York,layout:(dimensions:(height:441,width:1002),id:preserve_layout),objectType:visualization,relativeUrls:!(%27%2Fapp%2Fkibana%23%2Fvisualize%2Fedit%2F3fe22200-3dcb-11e8-8660-4d65aa086b3c%3F_g%3D(refreshInterval:(display:Off,pause:!!f,value:0),time:(from:!%27Mon%2BApr%2B09%2B2018%2B17:56:08%2BGMT-0400!%27,mode:absolute,to:!%27Wed%2BApr%2B11%2B2018%2B17:56:08%2BGMT-0400!%27))%26_a%3D(filters:!!(),linked:!!f,query:(language:lucene,query:!%27!%27),uiState:(),vis:(aggs:!!((enabled:!!t,id:!%271!%27,params:(),schema:metric,type:count),(enabled:!!t,id:!%272!%27,params:(field:bytes,missingBucket:!!f,missingBucketLabel:Missing,order:desc,orderBy:!%271!%27,otherBucket:!!f,otherBucketLabel:Other,size:5),schema:segment,type:terms)),params:(addLegend:!!t,addTooltip:!!t,isDonut:!!t,labels:(last_level:!!t,show:!!f,truncate:100,values:!!t),legendPosition:right,type:pie),title:!%27Rendering%2BTest:%2Bpie!%27,type:pie))%27),title:%27Rendering%20Test:%20pie%27))
[00:02:38]                 │ proc [kibana]   log   [20:15:02.190] [info][plugins][queue-job][reporting] Queued PDF report: ko4r97oc5srube62a439g9bw
[00:02:38]                 │ proc [kibana]   log   [20:15:02.201] [info][plugins][queue-job][reporting] Queued PDF report: ko4r97og5srube62a43bryl6
[00:02:38]                 │ debg Waiting for job to finish: /api/reporting/jobs/download/ko4r97oc5srube62a439g9bw
[00:02:38]                 │ debg Waiting for job to finish: /api/reporting/jobs/download/ko4r97og5srube62a43bryl6
[00:02:40]                 │ debg Report at path /api/reporting/jobs/download/ko4r97oc5srube62a439g9bw is pending
[00:02:40]                 │ debg Report at path /api/reporting/jobs/download/ko4r97og5srube62a43bryl6 is pending
[00:02:41]                 │ proc [kibana]   log   [20:15:05.153] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job marked as claimed: /.reporting-2021-04-25/_doc/ko4r97oc5srube62a439g9bw
[00:02:41]                 │ proc [kibana]   log   [20:15:05.154] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Starting job
[00:02:41]                 │ proc [kibana]   log   [20:15:05.182] [info][browser-driver][execute-job][ko4r97oc5srube62a439g9bw][plugins][printable_pdf][reporting] Creating browser page driver
[00:02:41]                 │ debg Report at path /api/reporting/jobs/download/ko4r97oc5srube62a439g9bw is pending
[00:02:41]                 │ debg Report at path /api/reporting/jobs/download/ko4r97og5srube62a43bryl6 is pending
[00:02:41]                 │ proc [kibana]   log   [20:15:05.336] [info][execute-job][ko4r97oc5srube62a439g9bw][plugins][printable_pdf][reporting] opening url http://localhost:61121/app/kibana#/dashboard/61c58ad0-3dd3-11e8-b2b9-5d5dc1715159?_g=(refreshInterval%3A(display%3AOff%2Cpause%3A!f%2Cvalue%3A0)%2Ctime%3A(from%3A'Mon%20Apr%2009%202018%2017%3A56%3A08%20GMT-0400'%2Cmode%3Aabsolute%2Cto%3A'Wed%20Apr%2011%202018%2017%3A56%3A08%20GMT-0400'))&_a=(description%3A''%2Cfilters%3A!(('%24state'%3A(store%3AappState)%2Cmeta%3A(alias%3A!n%2Cdisabled%3A!f%2Cindex%3Aa0f483a0-3dc9-11e8-8660-4d65aa086b3c%2Ckey%3Aanimal%2Cnegate%3A!f%2Cparams%3A(query%3Adog%2Ctype%3Aphrase)%2Ctype%3Aphrase%2Cvalue%3Adog)%2Cquery%3A(match%3A(animal%3A(query%3Adog%2Ctype%3Aphrase)))))%2CfullScreenMode%3A!f%2Coptions%3A(hidePanelTitles%3A!f%2CuseMargins%3A!t)%2Cpanels%3A!((embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A'1'%2Cw%3A24%2Cx%3A0%2Cy%3A0)%2Cid%3A'50643b60-3dd3-11e8-b2b9-5d5dc1715159'%2CpanelIndex%3A'1'%2Ctype%3Avisualization%2Cversion%3A'6.3.0')%2C(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A'2'%2Cw%3A24%2Cx%3A24%2Cy%3A0)%2Cid%3Aa16d1990-3dca-11e8-8660-4d65aa086b3c%2CpanelIndex%3A'2'%2Ctype%3Asearch%2Cversion%3A'6.3.0'))%2Cquery%3A(language%3Alucene%2Cquery%3A'')%2CtimeRestore%3A!t%2Ctitle%3A'dashboard%20with%20filter'%2CviewMode%3Aview)&forceNow=2021-04-30T20%3A15%3A02.172Z
[00:02:41]                 │ proc [kibana]   log   [20:15:05.449] [error][browser-driver][execute-job][headless-browser-console][ko4r97oc5srube62a439g9bw][plugins][printable_pdf][reporting] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:41]                 │ proc [kibana] 
[00:02:43]                 │ debg Report at path /api/reporting/jobs/download/ko4r97oc5srube62a439g9bw is pending
[00:02:43]                 │ debg Report at path /api/reporting/jobs/download/ko4r97og5srube62a43bryl6 is pending
[00:02:44]                 │ proc [kibana]   log   [20:15:07.713] [info][execute-job][ko4r97oc5srube62a439g9bw][plugins][printable_pdf][reporting] handled 152 page requests
[00:02:44]                 │ debg Report at path /api/reporting/jobs/download/ko4r97oc5srube62a439g9bw is pending
[00:02:44]                 │ debg Report at path /api/reporting/jobs/download/ko4r97og5srube62a43bryl6 is pending
[00:02:44]                 │ proc [kibana]   log   [20:15:08.526] [warning][browser-driver][execute-job][ko4r97oc5srube62a439g9bw][plugins][printable_pdf][reporting] Request to [http://localhost:61121/internal/bsearch] failed! [net::ERR_ABORTED]. This error will be ignored.
[00:02:45]                 │ proc [kibana]   log   [20:15:09.139] [info][execute-job][ko4r97oc5srube62a439g9bw][plugins][printable_pdf][reporting] timeRange: Apr 9, 2018 @ 17:56:08.000 to Apr 11, 2018 @ 17:56:08.000
[00:02:45]                 │ proc [kibana]   log   [20:15:09.140] [info][execute-job][ko4r97oc5srube62a439g9bw][plugins][printable_pdf][reporting] taking screenshots
[00:02:45]                 │ proc [kibana]   log   [20:15:09.344] [info][execute-job][ko4r97oc5srube62a439g9bw][plugins][printable_pdf][reporting] screenshots taken: 1
[00:02:46]                 │ proc [kibana]   log   [20:15:09.842] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job execution completed successfully
[00:02:46]                 │ proc [kibana]   log   [20:15:09.858] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job data saved successfully: /.reporting-2021-04-25/_doc/ko4r97oc5srube62a439g9bw
[00:02:46]                 │ debg Report at path /api/reporting/jobs/download/ko4r97oc5srube62a439g9bw is pending
[00:02:46]                 │ debg Report at path /api/reporting/jobs/download/ko4r97og5srube62a43bryl6 is pending
[00:02:46]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_001/EZR-w0uWT1mkW0I0OVO99Q] update_mapping [_doc]
[00:02:47]                 │ debg Report at path /api/reporting/jobs/download/ko4r97oc5srube62a439g9bw is complete
[00:02:47]                 │ debg Report at path /api/reporting/jobs/download/ko4r97og5srube62a43bryl6 is pending
[00:02:49]                 │ debg Report at path /api/reporting/jobs/download/ko4r97og5srube62a43bryl6 is pending
[00:02:49]                 │ proc [kibana]   log   [20:15:12.871] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job marked as claimed: /.reporting-2021-04-25/_doc/ko4r97og5srube62a43bryl6
[00:02:49]                 │ proc [kibana]   log   [20:15:12.872] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Starting job
[00:02:49]                 │ proc [kibana]   log   [20:15:12.892] [info][browser-driver][execute-job][ko4r97og5srube62a43bryl6][plugins][printable_pdf][reporting] Creating browser page driver
[00:02:49]                 │ proc [kibana]   log   [20:15:13.019] [info][execute-job][ko4r97og5srube62a43bryl6][plugins][printable_pdf][reporting] opening url http://localhost:61121/app/kibana#/visualize/edit/3fe22200-3dcb-11e8-8660-4d65aa086b3c?_g=(refreshInterval%3A(display%3AOff%2Cpause%3A!f%2Cvalue%3A0)%2Ctime%3A(from%3A'Mon%20Apr%2009%202018%2017%3A56%3A08%20GMT-0400'%2Cmode%3Aabsolute%2Cto%3A'Wed%20Apr%2011%202018%2017%3A56%3A08%20GMT-0400'))&_a=(filters%3A!()%2Clinked%3A!f%2Cquery%3A(language%3Alucene%2Cquery%3A'')%2CuiState%3A()%2Cvis%3A(aggs%3A!((enabled%3A!t%2Cid%3A'1'%2Cparams%3A()%2Cschema%3Ametric%2Ctype%3Acount)%2C(enabled%3A!t%2Cid%3A'2'%2Cparams%3A(field%3Abytes%2CmissingBucket%3A!f%2CmissingBucketLabel%3AMissing%2Corder%3Adesc%2CorderBy%3A'1'%2CotherBucket%3A!f%2CotherBucketLabel%3AOther%2Csize%3A5)%2Cschema%3Asegment%2Ctype%3Aterms))%2Cparams%3A(addLegend%3A!t%2CaddTooltip%3A!t%2CisDonut%3A!t%2Clabels%3A(last_level%3A!t%2Cshow%3A!f%2Ctruncate%3A100%2Cvalues%3A!t)%2ClegendPosition%3Aright%2Ctype%3Apie)%2Ctitle%3A'Rendering%20Test%3A%20pie'%2Ctype%3Apie))&forceNow=2021-04-30T20%3A15%3A02.176Z
[00:02:49]                 │ proc [kibana]   log   [20:15:13.096] [error][browser-driver][execute-job][headless-browser-console][ko4r97og5srube62a43bryl6][plugins][printable_pdf][reporting] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:49]                 │ proc [kibana] 
[00:02:49]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619807989389966610] [.kibana_7.14.0_001/EZR-w0uWT1mkW0I0OVO99Q] update_mapping [_doc]
[00:02:50]                 │ debg Report at path /api/reporting/jobs/download/ko4r97og5srube62a43bryl6 is pending
[00:02:51]                 │ proc [kibana]   log   [20:15:15.208] [info][execute-job][ko4r97og5srube62a43bryl6][plugins][printable_pdf][reporting] handled 150 page requests
[00:02:52]                 │ debg Report at path /api/reporting/jobs/download/ko4r97og5srube62a43bryl6 is pending
[00:02:52]                 │ proc [kibana]   log   [20:15:16.543] [info][execute-job][ko4r97og5srube62a43bryl6][plugins][printable_pdf][reporting] timeRange: Apr 9, 2018 @ 17:56:08.000 to Apr 11, 2018 @ 17:56:08.000
[00:02:52]                 │ proc [kibana]   log   [20:15:16.544] [info][execute-job][ko4r97og5srube62a43bryl6][plugins][printable_pdf][reporting] taking screenshots
[00:02:53]                 │ proc [kibana]   log   [20:15:16.696] [info][execute-job][ko4r97og5srube62a43bryl6][plugins][printable_pdf][reporting] screenshots taken: 1
[00:02:53]                 │ proc [kibana]   log   [20:15:17.045] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job execution completed successfully
[00:02:53]                 │ proc [kibana]   log   [20:15:17.053] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job data saved successfully: /.reporting-2021-04-25/_doc/ko4r97og5srube62a43bryl6
[00:02:53]                 │ debg Report at path /api/reporting/jobs/download/ko4r97og5srube62a43bryl6 is pending
[00:02:55]                 │ debg Report at path /api/reporting/jobs/download/ko4r97og5srube62a43bryl6 is complete
[00:02:55]                 └- ✓ pass  (17.1s) "Reporting APIs Usage from new jobs posted should handle preserve_layout pdf"
[00:02:55]               └-> "after each" hook for "should handle preserve_layout pdf"
[00:02:55]                 │ debg ReportingAPI.deleteAllReports
[00:02:55]               └-> should handle print_layout pdf
[00:02:55]                 └-> "before each" hook: global before each for "should handle print_layout pdf"
[00:02:55]                 │ debg ReportingAPI.postJob(/api/reporting/generate/printablePdf?jobParams=(browserTimezone:America%2FNew_York,layout:(id:print),objectType:dashboard,relativeUrls:!(%27%2Fapp%2Fkibana%23%2Fdashboard%2F2ae34a60-3dd4-11e8-b2b9-5d5dc1715159%3F_g%3D(refreshInterval:(display:Off,pause:!!f,value:0),time:(from:!%27Mon%2BApr%2B09%2B2018%2B17:56:08%2BGMT-0400!%27,mode:absolute,to:!%27Wed%2BApr%2B11%2B2018%2B17:56:08%2BGMT-0400!%27))%26_a%3D(description:!%27!%27,filters:!!(),fullScreenMode:!!f,options:(hidePanelTitles:!!f,useMargins:!!t),panels:!!((embeddableConfig:(),gridData:(h:15,i:!%271!%27,w:24,x:0,y:0),id:!%27145ced90-3dcb-11e8-8660-4d65aa086b3c!%27,panelIndex:!%271!%27,type:visualization,version:!%276.3.0!%27),(embeddableConfig:(),gridData:(h:15,i:!%272!%27,w:24,x:24,y:0),id:e2023110-3dcb-11e8-8660-4d65aa086b3c,panelIndex:!%272!%27,type:visualization,version:!%276.3.0!%27)),query:(language:lucene,query:!%27!%27),timeRestore:!!f,title:!%27couple%2Bpanels!%27,viewMode:view)%27),title:%27couple%20panels%27))
[00:02:55]                 │ debg ReportingAPI.postJob(/api/reporting/generate/printablePdf?jobParams=(browserTimezone:America%2FNew_York,layout:(id:print),objectType:visualization,relativeUrls:!(%27%2Fapp%2Fkibana%23%2Fvisualize%2Fedit%2Fbefdb6b0-3e59-11e8-9fc3-39e49624228e%3F_g%3D(refreshInterval:(display:Off,pause:!!f,value:0),time:(from:!%27Mon%2BApr%2B09%2B2018%2B17:56:08%2BGMT-0400!%27,mode:absolute,to:!%27Wed%2BApr%2B11%2B2018%2B17:56:08%2BGMT-0400!%27))%26_a%3D(filters:!!((!%27$state!%27:(store:appState),meta:(alias:!!n,disabled:!!f,index:a0f483a0-3dc9-11e8-8660-4d65aa086b3c,key:animal.keyword,negate:!!f,params:(query:dog,type:phrase),type:phrase,value:dog),query:(match:(animal.keyword:(query:dog,type:phrase))))),linked:!!t,query:(language:lucene,query:!%27!%27),uiState:(),vis:(aggs:!!((enabled:!!t,id:!%271!%27,params:(),schema:metric,type:count),(enabled:!!t,id:!%272!%27,params:(field:name.keyword,missingBucket:!!f,missingBucketLabel:Missing,order:desc,orderBy:!%271!%27,otherBucket:!!f,otherBucketLabel:Other,size:5),schema:segment,type:terms)),params:(addLegend:!!t,addTooltip:!!t,isDonut:!!t,labels:(last_level:!!t,show:!!f,truncate:100,values:!!t),legendPosition:right,type:pie),title:!%27Filter%2BTest:%2Banimals:%2Blinked%2Bto%2Bsearch%2Bwith%2Bfilter!%27,type:pie))%27),title:%27Filter%20Test:%20animals:%20linked%20to%20search%20with%20filter%27))
[00:02:55]                 │ proc [kibana]   log   [20:15:19.272] [info][plugins][queue-job][reporting] Queued PDF report: ko4r9kuq5srube62a44jk6hj
[00:02:55]                 │ proc [kibana]   log   [20:15:19.280] [info][plugins][queue-job][reporting] Queued PDF report: ko4r9kuv5srube62a44miuil
[00:02:55]                 │ debg Waiting for job to finish: /api/reporting/jobs/download/ko4r9kuq5srube62a44jk6hj
[00:02:55]                 │ debg Waiting for job to finish: /api/reporting/jobs/download/ko4r9kuv5srube62a44miuil
[00:02:56]                 │ proc [kibana]   log   [20:15:20.067] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job marked as claimed: /.reporting-2021-04-25/_doc/ko4r9kuq5srube62a44jk6hj
[00:02:56]                 │ proc [kibana]   log   [20:15:20.067] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Starting job
[00:02:56]                 │ proc [kibana]   log   [20:15:20.090] [info][browser-driver][execute-job][ko4r9kuq5srube62a44jk6hj][plugins][printable_pdf][reporting] Creating browser page driver
[00:02:56]                 │ proc [kibana]   log   [20:15:20.231] [info][execute-job][ko4r9kuq5srube62a44jk6hj][plugins][printable_pdf][reporting] opening url http://localhost:61121/app/kibana#/dashboard/2ae34a60-3dd4-11e8-b2b9-5d5dc1715159?_g=(refreshInterval%3A(display%3AOff%2Cpause%3A!f%2Cvalue%3A0)%2Ctime%3A(from%3A'Mon%20Apr%2009%202018%2017%3A56%3A08%20GMT-0400'%2Cmode%3Aabsolute%2Cto%3A'Wed%20Apr%2011%202018%2017%3A56%3A08%20GMT-0400'))&_a=(description%3A''%2Cfilters%3A!()%2CfullScreenMode%3A!f%2Coptions%3A(hidePanelTitles%3A!f%2CuseMargins%3A!t)%2Cpanels%3A!((embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A'1'%2Cw%3A24%2Cx%3A0%2Cy%3A0)%2Cid%3A'145ced90-3dcb-11e8-8660-4d65aa086b3c'%2CpanelIndex%3A'1'%2Ctype%3Avisualization%2Cversion%3A'6.3.0')%2C(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A'2'%2Cw%3A24%2Cx%3A24%2Cy%3A0)%2Cid%3Ae2023110-3dcb-11e8-8660-4d65aa086b3c%2CpanelIndex%3A'2'%2Ctype%3Avisualization%2Cversion%3A'6.3.0'))%2Cquery%3A(language%3Alucene%2Cquery%3A'')%2CtimeRestore%3A!f%2Ctitle%3A'couple%20panels'%2CviewMode%3Aview)&forceNow=2021-04-30T20%3A15%3A19.249Z
[00:02:56]                 │ proc [kibana]   log   [20:15:20.328] [error][browser-driver][execute-job][headless-browser-console][ko4r9kuq5srube62a44jk6hj][plugins][printable_pdf][reporting] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:02:56]                 │ proc [kibana] 
[00:02:57]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuq5srube62a44jk6hj is pending
[00:02:57]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuv5srube62a44miuil is pending
[00:02:58]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuq5srube62a44jk6hj is pending
[00:02:58]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuv5srube62a44miuil is pending
[00:02:58]                 │ proc [kibana]   log   [20:15:22.619] [info][execute-job][ko4r9kuq5srube62a44jk6hj][plugins][printable_pdf][reporting] handled 152 page requests
[00:02:59]                 │ proc [kibana]   log   [20:15:23.343] [warning][browser-driver][execute-job][ko4r9kuq5srube62a44jk6hj][plugins][printable_pdf][reporting] Request to [http://localhost:61121/internal/bsearch] failed! [net::ERR_ABORTED]. This error will be ignored.
[00:03:00]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuq5srube62a44jk6hj is pending
[00:03:00]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuv5srube62a44miuil is pending
[00:03:00]                 │ proc [kibana]   log   [20:15:24.024] [info][execute-job][ko4r9kuq5srube62a44jk6hj][plugins][printable_pdf][reporting] timeRange: Apr 9, 2018 @ 17:56:08.000 to Apr 11, 2018 @ 17:56:08.000
[00:03:00]                 │ proc [kibana]   log   [20:15:24.025] [info][execute-job][ko4r9kuq5srube62a44jk6hj][plugins][printable_pdf][reporting] taking screenshots
[00:03:00]                 │ proc [kibana]   log   [20:15:24.462] [info][execute-job][ko4r9kuq5srube62a44jk6hj][plugins][printable_pdf][reporting] screenshots taken: 2
[00:03:01]                 │ proc [kibana]   log   [20:15:25.257] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job execution completed successfully
[00:03:01]                 │ proc [kibana]   log   [20:15:25.268] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job data saved successfully: /.reporting-2021-04-25/_doc/ko4r9kuq5srube62a44jk6hj
[00:03:01]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuq5srube62a44jk6hj is pending
[00:03:01]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuv5srube62a44miuil is pending
[00:03:03]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuq5srube62a44jk6hj is complete
[00:03:03]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuv5srube62a44miuil is pending
[00:03:04]                 │ proc [kibana]   log   [20:15:28.281] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job marked as claimed: /.reporting-2021-04-25/_doc/ko4r9kuv5srube62a44miuil
[00:03:04]                 │ proc [kibana]   log   [20:15:28.281] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Starting job
[00:03:04]                 │ proc [kibana]   log   [20:15:28.303] [info][browser-driver][execute-job][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] Creating browser page driver
[00:03:04]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuv5srube62a44miuil is pending
[00:03:04]                 │ proc [kibana]   log   [20:15:28.433] [info][execute-job][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] opening url http://localhost:61121/app/kibana#/visualize/edit/befdb6b0-3e59-11e8-9fc3-39e49624228e?_g=(refreshInterval%3A(display%3AOff%2Cpause%3A!f%2Cvalue%3A0)%2Ctime%3A(from%3A'Mon%20Apr%2009%202018%2017%3A56%3A08%20GMT-0400'%2Cmode%3Aabsolute%2Cto%3A'Wed%20Apr%2011%202018%2017%3A56%3A08%20GMT-0400'))&_a=(filters%3A!(('%24state'%3A(store%3AappState)%2Cmeta%3A(alias%3A!n%2Cdisabled%3A!f%2Cindex%3Aa0f483a0-3dc9-11e8-8660-4d65aa086b3c%2Ckey%3Aanimal.keyword%2Cnegate%3A!f%2Cparams%3A(query%3Adog%2Ctype%3Aphrase)%2Ctype%3Aphrase%2Cvalue%3Adog)%2Cquery%3A(match%3A(animal.keyword%3A(query%3Adog%2Ctype%3Aphrase)))))%2Clinked%3A!t%2Cquery%3A(language%3Alucene%2Cquery%3A'')%2CuiState%3A()%2Cvis%3A(aggs%3A!((enabled%3A!t%2Cid%3A'1'%2Cparams%3A()%2Cschema%3Ametric%2Ctype%3Acount)%2C(enabled%3A!t%2Cid%3A'2'%2Cparams%3A(field%3Aname.keyword%2CmissingBucket%3A!f%2CmissingBucketLabel%3AMissing%2Corder%3Adesc%2CorderBy%3A'1'%2CotherBucket%3A!f%2CotherBucketLabel%3AOther%2Csize%3A5)%2Cschema%3Asegment%2Ctype%3Aterms))%2Cparams%3A(addLegend%3A!t%2CaddTooltip%3A!t%2CisDonut%3A!t%2Clabels%3A(last_level%3A!t%2Cshow%3A!f%2Ctruncate%3A100%2Cvalues%3A!t)%2ClegendPosition%3Aright%2Ctype%3Apie)%2Ctitle%3A'Filter%20Test%3A%20animals%3A%20linked%20to%20search%20with%20filter'%2Ctype%3Apie))&forceNow=2021-04-30T20%3A15%3A19.255Z
[00:03:04]                 │ proc [kibana]   log   [20:15:28.512] [error][browser-driver][execute-job][headless-browser-console][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:03:04]                 │ proc [kibana] 
[00:03:06]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuv5srube62a44miuil is pending
[00:03:06]                 │ proc [kibana]   log   [20:15:30.576] [warning][browser-driver][execute-job][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] Request to [http://localhost:61121/api/fleet/epm/packages?experimental=true] failed! [net::ERR_NETWORK_CHANGED]. This error will be ignored.
[00:03:06]                 │ proc [kibana]   log   [20:15:30.577] [error][browser-driver][execute-job][headless-browser-console][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] Failed to load resource: net::ERR_NETWORK_CHANGED
[00:03:06]                 │ proc [kibana]   log   [20:15:30.606] [warning][browser-driver][execute-job][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] Request to [http://localhost:61121/api/saved_objects/_bulk_get] failed! [net::ERR_NETWORK_CHANGED]. This error will be ignored.
[00:03:06]                 │ proc [kibana]   log   [20:15:30.606] [error][browser-driver][execute-job][headless-browser-console][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] Failed to load resource: net::ERR_NETWORK_CHANGED
[00:03:06]                 │ proc [kibana]   log   [20:15:30.607] [warning][browser-driver][execute-job][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] Request to [http://localhost:61121/api/saved_objects/_find?fields=title&per_page=10000&type=index-pattern] failed! [net::ERR_NETWORK_CHANGED]. This error will be ignored.
[00:03:06]                 │ proc [kibana]   log   [20:15:30.607] [error][browser-driver][execute-job][headless-browser-console][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] Failed to load resource: net::ERR_NETWORK_CHANGED
[00:03:06]                 │ proc [kibana]   log   [20:15:30.608] [error][browser-driver][execute-job][headless-browser-console][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] JSHandle@error
[00:03:06]                 │ proc [kibana]   log   [20:15:30.608] [warning][browser-driver][execute-job][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] Request to [http://localhost:61121/internal/global_search/searchable_types] failed! [net::ERR_NETWORK_CHANGED]. This error will be ignored.
[00:03:06]                 │ proc [kibana]   log   [20:15:30.608] [error][browser-driver][execute-job][headless-browser-console][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] Failed to load resource: net::ERR_NETWORK_CHANGED
[00:03:06]                 │ proc [kibana]   log   [20:15:30.627] [error][execute-job][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] Reporting encountered an error on the page: Error: TypeError: Failed to fetch
[00:03:06]                 │ proc [kibana]     at fetch_Fetch.fetchResponse (http://localhost:61121/40825/bundles/core/core.entry.js:6:26193)
[00:03:06]                 │ proc [kibana]     at async http://localhost:61121/40825/bundles/core/core.entry.js:6:24090
[00:03:06]                 │ proc [kibana]     at async http://localhost:61121/40825/bundles/core/core.entry.js:6:23996
[00:03:06]                 │ proc [kibana]   log   [20:15:30.629] [error][error][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Failure occurred on job ko4r9kuv5srube62a44miuil: Reporting encountered an error on the page: Error: TypeError: Failed to fetch
[00:03:06]                 │ proc [kibana]     at fetch_Fetch.fetchResponse (http://localhost:61121/40825/bundles/core/core.entry.js:6:26193)
[00:03:06]                 │ proc [kibana]     at async http://localhost:61121/40825/bundles/core/core.entry.js:6:24090
[00:03:06]                 │ proc [kibana]     at async http://localhost:61121/40825/bundles/core/core.entry.js:6:23996
[00:03:06]                 │ proc [kibana]   log   [20:15:30.629] [warning][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Failing job ko4r9kuv5srube62a44miuil
[00:03:06]                 │ proc [kibana]   log   [20:15:30.633] [info][execute-job][ko4r9kuv5srube62a44miuil][plugins][printable_pdf][reporting] handled 148 page requests
[00:03:06]                 │ proc [kibana]   log   [20:15:30.644] [info][esqueue][plugins][queue-worker][reporting] ko4r5p365srube62a42av7wv - Job marked as failed: /.reporting-2021-04-25/_doc/ko4r9kuv5srube62a44miuil
[00:03:07]                 │ debg Report at path /api/reporting/jobs/download/ko4r9kuv5srube62a44miuil returned code 500
[00:03:07]                 └- ✖ fail: Reporting APIs Usage from new jobs posted should handle print_layout pdf
[00:03:07]                 │      Error: expected 500 to equal 200
[00:03:07]                 │       at Assertion.assert (/dev/shm/workspace/parallel/12/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:03:07]                 │       at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/12/kibana/node_modules/@kbn/expect/expect.js:227:8)
[00:03:07]                 │       at Assertion.be (/dev/shm/workspace/parallel/12/kibana/node_modules/@kbn/expect/expect.js:69:22)
[00:03:07]                 │       at Object.waitForJobToFinish (test/reporting_api_integration/services/usage.ts:69:29)
[00:03:07]                 │       at /dev/shm/workspace/parallel/12/kibana/x-pack/test/reporting_api_integration/services/usage.ts:111:11
[00:03:07]                 │       at async Promise.all (index 1)
[00:03:07]                 │       at Object.expectAllJobsToFinishSuccessfully (test/reporting_api_integration/services/usage.ts:109:7)
[00:03:07]                 │       at Context.<anonymous> (test/reporting_api_integration/reporting_and_security/usage.ts:168:9)
[00:03:07]                 │       at Object.apply (/dev/shm/workspace/parallel/12/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:07]                 │ 
[00:03:07]                 │ 

Stack Trace

Error: expected 500 to equal 200
    at Assertion.assert (/dev/shm/workspace/parallel/12/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/12/kibana/node_modules/@kbn/expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/parallel/12/kibana/node_modules/@kbn/expect/expect.js:69:22)
    at Object.waitForJobToFinish (test/reporting_api_integration/services/usage.ts:69:29)
    at /dev/shm/workspace/parallel/12/kibana/x-pack/test/reporting_api_integration/services/usage.ts:111:11
    at async Promise.all (index 1)
    at Object.expectAllJobsToFinishSuccessfully (test/reporting_api_integration/services/usage.ts:109:7)
    at Context.<anonymous> (test/reporting_api_integration/reporting_and_security/usage.ts:168:9)
    at Object.apply (/dev/shm/workspace/parallel/12/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
security 748.6KB 764.3KB +15.8KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
security 125.1KB 78.9KB -46.1KB
Unknown metric groups

async chunk count

id before after diff
security 17 21 +4

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@legrego legrego merged commit 5d2f929 into elastic:7.x Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants